Optimal. Leaf size=285 \[ -\frac{2 e (f+g x)^{5/2} \left (e g (-a e g-3 b d g+4 b e f)-c \left (3 d^2 g^2-12 d e f g+10 e^2 f^2\right )\right )}{5 g^6}+\frac{2 (f+g x)^{3/2} (e f-d g) \left (3 e g (-a e g-b d g+2 b e f)-c \left (d^2 g^2-8 d e f g+10 e^2 f^2\right )\right )}{3 g^6}+\frac{2 (e f-d g)^3 \left (a g^2-b f g+c f^2\right )}{g^6 \sqrt{f+g x}}+\frac{2 \sqrt{f+g x} (e f-d g)^2 (c f (5 e f-2 d g)-g (-3 a e g-b d g+4 b e f))}{g^6}-\frac{2 e^2 (f+g x)^{7/2} (-b e g-3 c d g+5 c e f)}{7 g^6}+\frac{2 c e^3 (f+g x)^{9/2}}{9 g^6} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.00847, antiderivative size = 285, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.074 \[ -\frac{2 e (f+g x)^{5/2} \left (e g (-a e g-3 b d g+4 b e f)-c \left (3 d^2 g^2-12 d e f g+10 e^2 f^2\right )\right )}{5 g^6}+\frac{2 (f+g x)^{3/2} (e f-d g) \left (3 e g (-a e g-b d g+2 b e f)-c \left (d^2 g^2-8 d e f g+10 e^2 f^2\right )\right )}{3 g^6}+\frac{2 (e f-d g)^3 \left (a g^2-b f g+c f^2\right )}{g^6 \sqrt{f+g x}}+\frac{2 \sqrt{f+g x} (e f-d g)^2 (c f (5 e f-2 d g)-g (-3 a e g-b d g+4 b e f))}{g^6}-\frac{2 e^2 (f+g x)^{7/2} (-b e g-3 c d g+5 c e f)}{7 g^6}+\frac{2 c e^3 (f+g x)^{9/2}}{9 g^6} \]
Antiderivative was successfully verified.
[In] Int[((d + e*x)^3*(a + b*x + c*x^2))/(f + g*x)^(3/2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x+d)**3*(c*x**2+b*x+a)/(g*x+f)**(3/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.752229, size = 406, normalized size = 1.42 \[ \frac{2 \left (9 g \left (7 a g \left (-5 d^3 g^3+15 d^2 e g^2 (2 f+g x)+5 d e^2 g \left (-8 f^2-4 f g x+g^2 x^2\right )+e^3 \left (16 f^3+8 f^2 g x-2 f g^2 x^2+g^3 x^3\right )\right )+b \left (35 d^3 g^3 (2 f+g x)+35 d^2 e g^2 \left (-8 f^2-4 f g x+g^2 x^2\right )+21 d e^2 g \left (16 f^3+8 f^2 g x-2 f g^2 x^2+g^3 x^3\right )+e^3 \left (-128 f^4-64 f^3 g x+16 f^2 g^2 x^2-8 f g^3 x^3+5 g^4 x^4\right )\right )\right )+c \left (105 d^3 g^3 \left (-8 f^2-4 f g x+g^2 x^2\right )+189 d^2 e g^2 \left (16 f^3+8 f^2 g x-2 f g^2 x^2+g^3 x^3\right )+27 d e^2 g \left (-128 f^4-64 f^3 g x+16 f^2 g^2 x^2-8 f g^3 x^3+5 g^4 x^4\right )+5 e^3 \left (256 f^5+128 f^4 g x-32 f^3 g^2 x^2+16 f^2 g^3 x^3-10 f g^4 x^4+7 g^5 x^5\right )\right )\right )}{315 g^6 \sqrt{f+g x}} \]
Antiderivative was successfully verified.
[In] Integrate[((d + e*x)^3*(a + b*x + c*x^2))/(f + g*x)^(3/2),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.01, size = 540, normalized size = 1.9 \[ -{\frac{-70\,{e}^{3}c{x}^{5}{g}^{5}-90\,b{e}^{3}{g}^{5}{x}^{4}-270\,cd{e}^{2}{g}^{5}{x}^{4}+100\,c{e}^{3}f{g}^{4}{x}^{4}-126\,a{e}^{3}{g}^{5}{x}^{3}-378\,bd{e}^{2}{g}^{5}{x}^{3}+144\,b{e}^{3}f{g}^{4}{x}^{3}-378\,c{d}^{2}e{g}^{5}{x}^{3}+432\,cd{e}^{2}f{g}^{4}{x}^{3}-160\,c{e}^{3}{f}^{2}{g}^{3}{x}^{3}-630\,ad{e}^{2}{g}^{5}{x}^{2}+252\,a{e}^{3}f{g}^{4}{x}^{2}-630\,b{d}^{2}e{g}^{5}{x}^{2}+756\,bd{e}^{2}f{g}^{4}{x}^{2}-288\,b{e}^{3}{f}^{2}{g}^{3}{x}^{2}-210\,c{d}^{3}{g}^{5}{x}^{2}+756\,c{d}^{2}ef{g}^{4}{x}^{2}-864\,cd{e}^{2}{f}^{2}{g}^{3}{x}^{2}+320\,c{e}^{3}{f}^{3}{g}^{2}{x}^{2}-1890\,a{d}^{2}e{g}^{5}x+2520\,ad{e}^{2}f{g}^{4}x-1008\,a{e}^{3}{f}^{2}{g}^{3}x-630\,b{d}^{3}{g}^{5}x+2520\,b{d}^{2}ef{g}^{4}x-3024\,bd{e}^{2}{f}^{2}{g}^{3}x+1152\,b{e}^{3}{f}^{3}{g}^{2}x+840\,c{d}^{3}f{g}^{4}x-3024\,c{d}^{2}e{f}^{2}{g}^{3}x+3456\,cd{e}^{2}{f}^{3}{g}^{2}x-1280\,c{e}^{3}{f}^{4}gx+630\,{d}^{3}a{g}^{5}-3780\,a{d}^{2}ef{g}^{4}+5040\,ad{e}^{2}{f}^{2}{g}^{3}-2016\,a{e}^{3}{f}^{3}{g}^{2}-1260\,b{d}^{3}f{g}^{4}+5040\,b{d}^{2}e{f}^{2}{g}^{3}-6048\,bd{e}^{2}{f}^{3}{g}^{2}+2304\,b{e}^{3}{f}^{4}g+1680\,c{d}^{3}{f}^{2}{g}^{3}-6048\,c{d}^{2}e{f}^{3}{g}^{2}+6912\,cd{e}^{2}{f}^{4}g-2560\,c{e}^{3}{f}^{5}}{315\,{g}^{6}}{\frac{1}{\sqrt{gx+f}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x+d)^3*(c*x^2+b*x+a)/(g*x+f)^(3/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.69667, size = 590, normalized size = 2.07 \[ \frac{2 \,{\left (\frac{35 \,{\left (g x + f\right )}^{\frac{9}{2}} c e^{3} - 45 \,{\left (5 \, c e^{3} f -{\left (3 \, c d e^{2} + b e^{3}\right )} g\right )}{\left (g x + f\right )}^{\frac{7}{2}} + 63 \,{\left (10 \, c e^{3} f^{2} - 4 \,{\left (3 \, c d e^{2} + b e^{3}\right )} f g +{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} g^{2}\right )}{\left (g x + f\right )}^{\frac{5}{2}} - 105 \,{\left (10 \, c e^{3} f^{3} - 6 \,{\left (3 \, c d e^{2} + b e^{3}\right )} f^{2} g + 3 \,{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} f g^{2} -{\left (c d^{3} + 3 \, b d^{2} e + 3 \, a d e^{2}\right )} g^{3}\right )}{\left (g x + f\right )}^{\frac{3}{2}} + 315 \,{\left (5 \, c e^{3} f^{4} - 4 \,{\left (3 \, c d e^{2} + b e^{3}\right )} f^{3} g + 3 \,{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} f^{2} g^{2} - 2 \,{\left (c d^{3} + 3 \, b d^{2} e + 3 \, a d e^{2}\right )} f g^{3} +{\left (b d^{3} + 3 \, a d^{2} e\right )} g^{4}\right )} \sqrt{g x + f}}{g^{5}} + \frac{315 \,{\left (c e^{3} f^{5} - a d^{3} g^{5} -{\left (3 \, c d e^{2} + b e^{3}\right )} f^{4} g +{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} f^{3} g^{2} -{\left (c d^{3} + 3 \, b d^{2} e + 3 \, a d e^{2}\right )} f^{2} g^{3} +{\left (b d^{3} + 3 \, a d^{2} e\right )} f g^{4}\right )}}{\sqrt{g x + f} g^{5}}\right )}}{315 \, g} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(e*x + d)^3/(g*x + f)^(3/2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.27232, size = 578, normalized size = 2.03 \[ \frac{2 \,{\left (35 \, c e^{3} g^{5} x^{5} + 1280 \, c e^{3} f^{5} - 315 \, a d^{3} g^{5} - 1152 \,{\left (3 \, c d e^{2} + b e^{3}\right )} f^{4} g + 1008 \,{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} f^{3} g^{2} - 840 \,{\left (c d^{3} + 3 \, b d^{2} e + 3 \, a d e^{2}\right )} f^{2} g^{3} + 630 \,{\left (b d^{3} + 3 \, a d^{2} e\right )} f g^{4} - 5 \,{\left (10 \, c e^{3} f g^{4} - 9 \,{\left (3 \, c d e^{2} + b e^{3}\right )} g^{5}\right )} x^{4} +{\left (80 \, c e^{3} f^{2} g^{3} - 72 \,{\left (3 \, c d e^{2} + b e^{3}\right )} f g^{4} + 63 \,{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} g^{5}\right )} x^{3} -{\left (160 \, c e^{3} f^{3} g^{2} - 144 \,{\left (3 \, c d e^{2} + b e^{3}\right )} f^{2} g^{3} + 126 \,{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} f g^{4} - 105 \,{\left (c d^{3} + 3 \, b d^{2} e + 3 \, a d e^{2}\right )} g^{5}\right )} x^{2} +{\left (640 \, c e^{3} f^{4} g - 576 \,{\left (3 \, c d e^{2} + b e^{3}\right )} f^{3} g^{2} + 504 \,{\left (3 \, c d^{2} e + 3 \, b d e^{2} + a e^{3}\right )} f^{2} g^{3} - 420 \,{\left (c d^{3} + 3 \, b d^{2} e + 3 \, a d e^{2}\right )} f g^{4} + 315 \,{\left (b d^{3} + 3 \, a d^{2} e\right )} g^{5}\right )} x\right )}}{315 \, \sqrt{g x + f} g^{6}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(e*x + d)^3/(g*x + f)^(3/2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (d + e x\right )^{3} \left (a + b x + c x^{2}\right )}{\left (f + g x\right )^{\frac{3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x+d)**3*(c*x**2+b*x+a)/(g*x+f)**(3/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.276629, size = 903, normalized size = 3.17 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)*(e*x + d)^3/(g*x + f)^(3/2),x, algorithm="giac")
[Out]